<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>初驾</title>
  <meta name="viewport"
        content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
  <link rel="stylesheet" type="text/css" href="/static/css/reset.css">
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
<script src='http://api.map.baidu.com/api?v=2.0&ak=3tRsiReI0tQuaGgY1xWKpqGqK03n5Y1A&callback=init'></script>
<script type="text/javascript">

function GetQueryString(name)
{
     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
     var r = window.location.search.substr(1).match(reg);
     if(r!=null)return  unescape(r[2]); return null;
}
if (GetQueryString('school')) {
	localStorage.school = GetQueryString('school');
}
navigator.geolocation.getCurrentPosition(function(position) {
	if (position.coords.latitude) {
		localStorage.x_coordinat = position.coords.latitude;
		localStorage.y_coordinat = position.coords.longitude;
	}
});
</script>
</body>
</html>
